import Layout from '@/layout/index.vue';
import * as i18n from '@/utils';
let log = {
	path: '/log',
	component: Layout,
	name: '日志',
	meta: {
		icon: 'dashboard',
		isPermiss:'/management/updateLog.update_log/getList'
	},
	children: [
		{
			path: '/log/index',
			name: '更新日志',
			component: () => import('@/views/log/index.vue'),
			meta: { title: i18n.t('router.Updatelog'), icon: 'dashboard' },
			isPermiss:'/management/updateLog.update_log/getList'
		},
		{
			hidden: true,
			path: '/log/add_info',
			name: '添加版本',
			component: () => import('@/views/log/add_info/index.vue'),
			meta: { title: i18n.t('log.add'), icon: 'dashboard', induce:'/log/index' },
			isPermiss:'/management/updateLog.update_log/add'
		},
		{
			hidden: true,
			path: '/log/details_info',
			name: '版本编辑',
			component: () => import('@/views/log/details_info/index.vue'),
			meta: { title: i18n.t('router.Versionedit'), icon: 'dashboard', induce:'/log/index' },
			isPermiss:'/management/updateLog.update_log/update'
		}
	]
}

export default log;